<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>视图于模型之间的双向绑定</title>
</head>
<body>
    <div id="app">
        竹叶青：<input type="checkbox"  value="竹叶青" v-model="jiu"/><br/>
        茅台：<input type="checkbox" value="茅台" v-model="jiu"/><br/>
        五粮液：<input type="checkbox" value="五粮液" v-model="jiu"/><br/>
        女儿红：<input type="checkbox" value="女儿红" v-model="jiu"/><br/>
        西凤：<input type="checkbox" value="西凤" v-model="jiu"/><br/>
        江小白：<input type="checkbox" value="江小白" v-model="jiu"/><br/>


        <hr/>
        你喜欢喝:{{jiu.join("$")}}
    </div>



<script src="../node_modules/vue/dist/vue.js"></script>
<script>
    let app = new Vue({
        el: "#app",
        data:{
            jiu:[]
        }

    })


</script>
</body>
</html>